SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20640fc0cc6332fcd2e9632463044a616d5f1dbb710f82160151533390df42df' 
  AND token = 'jNxAwnu0cnaBsFCiuDNhpzTM2ke+gPU235qFM/xY2vo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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