SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ae23fe4865a85f406eef9613a646c3cbc7ea1e201d1ca6a310b4d7b1d450c793' 
  AND token = 'T0Hw+Q6+YSV6jaF4PVQ3p93R6olr7MBi7Y+vcOmpo2A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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