SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ec7e3eddaa44d829aeb2fe4092c678c9f49cf00c62b18c7dba2d2a4dae5547e' 
  AND token = '/McaUoxBey+Z+yQHuaGvO6T9GykQVfLkVGcJmVXf2bA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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