SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '74c54ff08968e6a36e1999702aedfbb8ebcd51eed062e1c4705d3c11566acf86' 
  AND token = 'SadVhhwkx69nrBwEtF5Uj7Vj3JE6UfqyHutkQPPVqpA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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