SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '28840b97814fe3f096883031569f74c86219145bbd5553f7556df2b4b31cb349' 
  AND token = 'CgNyEVJ/9Yo04+gn+lVf5cvis5nzBAEDNmcE8f9js/o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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