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

Query time 0.00039

JSON explain

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