SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b031f1a0c2ce112b00b04aabc61a0a9d51542dc7e3c2c7b60223cfb7376876c1' 
  AND token = 'UVjTE+2CwT1z7OhK44Dio8eiN5+ZiFiLMcE1+eEY3co=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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