SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '79f9ae262259f2626ae55da9547d16102dd233154bf82dbed04edc712e9170e5' 
  AND token = 'gk0/2OZ7wcLFHOI2VfKgfbbKpiUQ5VnFjm5kFK+ttl0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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