SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '65ebf8e6cfd55252711126c6f8297b64ef82f165c07fbb455ed28c80794a6ff8' 
  AND token = '30epMXKkA3D+Kigl8bTX11QCaTXhbmExHv/GuubUptA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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