SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '132ee6cb02598647a16a636891285415f732c90c9e2828151796234c3f7863f1' 
  AND token = 'nlXyOLZSHPcx2qbEVGt12jvVfVT5WPwPxcbpBBs8uqU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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