SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9f9493385e03102fc9ed7ae0c344e8a32109b5dd8e8098b02851383ddfa6a1c' 
  AND token = 'RIPPyk4MC46UonoCYy5woXr44agmbpLhcBEZexp8BQQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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