SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ddff51fc2d04c27f7b8f31bc33f4f1b1f27731cec3cf0126e73ca01c802beca0' 
  AND token = 'Dj/KgmTcCEGwWO3DFtU9D+7BBnU0Le4SYKi2wnicdJ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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