SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1830153a8282bb1081fd33bf1ed26155be9215ec2408d55d7fb364f542e7178' 
  AND token = 'dAMR+8TxhyPMMKupUauFN4GohFuWlkWtCVVU6TGfas4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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