SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b749811d0934f3072d6325095ae9a34c35f6a759ccb6a030c58a2359d9b6838e' 
  AND token = 'XdLmqAdQFoU68dSiVA+6Ev7dLvni8F06p8BGZlvp3kI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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