SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ad7994b75a2458f07c1a9e18bde51e9ec1d50c7f0ca832c04ab75989e3c3bd5d' 
  AND token = 'S16+7cGme7Q9ZcZqrwMsNCUnki3GVpDFfVEI91Y/Rqg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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