SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fcc161b1352bed337bc2419dd166f56bca69f5714874996e01a482f71a98ba68' 
  AND token = 'hrkqeMcDagdDlKM0AOyEbrXjUjbupnQHx1/L6pqoXnM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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