SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '25f7f393d0bb67f89e8ce689c915174d9cad4c66f04769a8ff198e388bf33828' 
  AND token = 'ZhZpkdgCkUlSF2v81PGx0IJX6IsYG5xyvT9WzO9TJpE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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