SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a8198cf849ce738183c9e1b61d6640553caa4d25cee2a32ff5cdeb5e1698a9a7' 
  AND token = 'fgqpCI34TXtg1Qeb5mcDkSLuz6GsX0bzw/j5wm8ZxcU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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