SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '785e41d7e8aa8e28e66b38ff74b4c83d3efb42b947ef38c271b062cea96575d0' 
  AND token = 'DIDxOfGpOemsrou238nbrp5p1kNTf2tiIsURFeid6gE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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