SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '166165b64e4a258cc28e91b6cc16a4c0c700e3f70ffb07df5313d56d6997b9b0' 
  AND token = 'dVJ5LDO2Syowoya/o6yudBA2SD1xUEyWKnpunnDYqv4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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