SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '258bb19dd1926f260e43029790af921fe7b27998dbac2c684fc5bcbbd4db7226' 
  AND token = 'niMOxb9qxLkaENl9AOxHikMFSQxFx934eHW8xECsqj8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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