SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ffdef986388d51e24b934afbc370bf7271f8601d466feaf9733368116f2de9a9' 
  AND token = 'aWcl0ey/Agozs78BpRVY0EwYXFJ7SEYN9gMia3Sj3n4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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