SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '35313e7ebbdfd45ce5ba890f4505fbe43415105462ec9d47d151a9613ba5ffab' 
  AND token = '0WAoi2kOGPy+8bkeVhH/Lu/97Boej0wte2HHvZHy3sQ=' 
  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"
    }
  }
}