SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd8fd3161562a6d8608fc5e206a75df9010fd614d973e133c2634664703b48986' 
  AND token = 'MSy5FntY/lf1zfBbF6WZzDDKGvO+TJTAf++7Ke6TSMc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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