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

Query time 0.00023

JSON explain

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