SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9dbc5b1eaf5ca55581203336dc112d0945973621fc86c79c3322f747539ac372' 
  AND token = 'p83i2PR8HFGDTOkkbauEfHByGPzWX9IBeeUQea11AJM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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