SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ee3578cd5c9f8940fd633474aad9c0f4b2fc4ec0bb0ce8683080758e6ce2e2a6' 
  AND token = 'ckn5Xr5eB2Y83l32ytNCQ/EjqOUeinGMphW6W+JWClQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}