SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '90576bc46f2899a7aa8486fdd607867dc975469663a1dd1fca9c959fe16cb803' 
  AND token = '7AVrkswTXen4qka+m/jbdb1xF8dyxEKRy9NGpws+ox4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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