SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cc30f67b8669c82819e16fd5caf2a3d52d291d2c7db8dcd96d3b7cce77bd82df' 
  AND token = 'IIHHiCvUHn/k2FJQizBflP6vNq/y71KVpC008/Fvg3Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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