SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd3042f22eca67c1273276efdaf3011eb0f3f5b873a9e8025edc4d43a5b370bf1' 
  AND token = 'G99xRmIqHFp6yUZrtClJFugAU/dFoaQRI/F0PQuIUAM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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