SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '16ac0ba582728bb6d076337a34e16aa6bdeefd6d0114971f1ea3722bf1e02163' 
  AND token = 'nJIpflQRk6xhodtYnVaWh8IjyIGZqb4KggkTXKJklq8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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