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

Query time 0.00029

JSON explain

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