SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24671fd4cb68952fecc1ffb47833bba1162072c4656127ab77137952c173dd16' 
  AND token = 'JYF6aAB+Dm2y9jiqAO3soL7h4kOkx51MViDSZ8WpttY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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