SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd064a6eee20b38009fdcba0295356bf2a2e9bead860131d2d15ca9352f7e5de' 
  AND token = 'Y9gDRHeW7qmoeJ56w0GFUtSIH3ckypX/osGpSd6Rd48=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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