SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ce74fa194b6b24487ef93e17fcafd287217f9fa3fce77d4e4e900e6560672954' 
  AND token = 'OKrESUMpJMJ6y1fJq/IfLjbpF9ZsdpGW960ofVVJuoQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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