SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1db9d2d918d88ced1c6592d00993fbda9af1f60488c655ca6f72d7bafd6f1be2' 
  AND token = 'uhfof1OcY1sMKuy1Ks6tiKe8yCG3/aSkeXg0Bcic6JE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}